package com.sunstar.club.subject.domain.convert;

import com.sunstar.club.subject.domain.entity.SubjectAnswerBo;
import com.sunstar.club.subject.domain.entity.SubjectInfoBo;
import com.sunstar.club.subject.infra.basic.entity.SubjectInfo;
import com.sunstar.club.subject.infra.basic.entity.SubjectMultiple;
import com.sunstar.club.subject.infra.basic.entity.SubjectRadio;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Author: Shylo Sun
 * @Project: track-club
 * @Date: 2024/2/24 14:26
 */
@Mapper
public interface RadioConverter {

    RadioConverter INSTANCE = Mappers.getMapper(RadioConverter.class);

    SubjectRadio convertBoToRadio(SubjectAnswerBo subjectAnswerBo);

    List<SubjectAnswerBo> convertRadioListToBo(List<SubjectRadio> subjectRadioList);

}
